import { createApp } from 'vue'

import App from './App.vue'
import pinia from './stores'
import router from './router'
import plugin from './directives'

import '@/assets/styles/index.scss'
import '@/router/guard'

import 'default-passive-events'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'element-plus/theme-chalk/dark/css-vars.css'


const app = createApp(App)

app.use(pinia)
app.use(router)
app.use(plugin)
app.use(ElementPlus, {
  locale: zhCn
})

app.mount('#app')
